linspace — linearly spaced vector


\begin{rail}
Linspace : 'linspace' '(' Scalar ',' Scalar ( ',' Scalar)? ')' ;
\end{rail}
linspace creates a vector of linearly spaced points between the first and second arguments. If the optional third argument is present, it specifies how many points are to be created. If the third argument is missing, then 100 points are assumed. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the linspace.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying linspace.r may make this function unavailable.

Subsections